export const defaultRoute = [    //所有默认路由从此配置即可
    // {
    //     path: '/user/order/details',   //订单
    //     name: 'details',
    //     hidden: true,
    //     component: () => import('@/views/user/order/details/index.vue'),
    //     meta: { title: '订单详情', keepAlive: false, permission: ['user'] }
    // },
    {
        path: '/shop/goods/goods_list_add',   //商品管理新增编辑
        name: 'goods_list_add',
        hidden: true,
        component: () => import('@/views/shop/goods/goods_list_add/goods_list_add.vue'),
        meta: { title: '新增商品', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/procurement/addOrder',   //新增采购单
        name: '/shop/procurement/addOrder',
        hidden: true,
        component: () => import('@/views/shop/procurement/platformOrderList/addOrder/index.vue'),
        meta: { title: '新增采购单', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/procurement/orderDetails',   //采购单详情
        name: '/shop/procurement/orderDetails',
        hidden: true,
        component: () => import('@/views/shop/procurement/platformOrderList/orderDetails/index.vue'),
        meta: { title: '采购单详情', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/info/addShop',   //新增门店
        name: '/shop/info/addShop',
        hidden: true,
        component: () => import('@/views/shop/info/addShop/index.vue'),
        meta: { title: '新增门店', keepAlive: false, permission: ['user'] }
    }, {
        path: '/shop/stock/instockList/addOrder',   //增加自建商品入库单
        name: '/shop/stock/instockList/addOrder',
        hidden: true,
        component: () => import('@/views/shop/stock/instockList/platformOrderList/addOrder/index.vue'),
        meta: { title: '增加自建商品入库单', keepAlive: false, permission: ['user'] }
    }, {
        path: '/shop/stock/instockList/inOrder',   //入库操作
        name: '/shop/stock/instockList/inOrder',
        hidden: true,
        component: () => import('@/views/shop/stock/instockList/platformOrderList/inOrder/index.vue'),
        meta: { title: '入库操作', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/stock/instockList/inDetails',   //采购入库详情
        name: '/shop/stock/instockList/inDetails',
        hidden: true,
        component: () => import('@/views/shop/stock/instockList/platformOrderList/inDetails/index.vue'),
        meta: { title: '采购入库详情', keepAlive: false, permission: ['user'] }
    },

    // 门店出库列表
    {
        path: '/shop/stock/outstockList/addOrder',   //新增出库单
        name: '/shop/stock/outstockList/addOrder',
        hidden: true,
        component: () => import('@/views/shop/stock/outstockList/platformOrderList/addOrder/index.vue'),
        meta: { title: '新增出库单', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/stock/outstockList/inDetails',   //采购出库详情
        name: '/shop/stock/outstockList/inDetails',
        hidden: true,
        component: () => import('@/views/shop/stock/outstockList/platformOrderList/inDetails/index.vue'),
        meta: { title: '采购入库详情', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/supplier/procurementReturn/platformOrderList/inDetails',   //确认退货
        name: '/supplier/procurementReturn/platformOrderList/inDetails',
        hidden: true,
        component: () => import('@/views/supplier/procurementReturn/platformOrderList/inDetails/index.vue'),
        meta: { title: '确认退货', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/supplier/distributionOrder/platformOrderList/inDetails',   //配送
        name: '/supplier/distributionOrder/platformOrderList/inDetails',
        hidden: true,
        component: () => import('@/views/supplier/distributionOrder/platformOrderList/inDetails/index.vue'),
        meta: { title: '配送详情', keepAlive: false, permission: ['user'] }
    },



    //订单管理详情
    {
        path: '/shop/order/SuperCoffeeBar/details',
        name: '/shop/order/SuperCoffeeBar/details',
        hidden: true,
        component: () => import('@/views/shop/order/SuperCoffeeBar/details/index.vue'),
        meta: { title: '商超咖吧订单详情', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/order/SuperCoffeeBar/details',
        name: '/order/SuperCoffeeBar/details',
        hidden: true,
        component: () => import('@/views/shop/order/SuperCoffeeBar/details/index.vue'),
        meta: { title: '商超咖吧订单详情', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/order/laundry/details',
        name: '/shop/order/laundry/details',
        hidden: true,
        component: () => import('@/views/shop/order/laundry/details/index.vue'),
        meta: { title: '洗衣订单详情', keepAlive: false, permission: ['user'] }
    },
    {
        path: '/shop/order/housekeeping/details',
        name: '/shop/order/housekeeping/details',
        hidden: true,
        component: () => import('@/views/shop/order/housekeeping/details/index.vue'),
        meta: { title: '家政订单详情', keepAlive: false, permission: ['user'] }
    },



    // 门店报表
    {
        path: '/shop/storeReport/storeReportDetails',
        name: '/shop/order/housekeeping/details',
        hidden: true,
        component: () => import('@/views/shop/storeReport/storeReportDetails/index.vue'),
        meta: { title: '门店报表详情', keepAlive: false, permission: ['user'] }
    },
]